<!DOCTYPE html>
<html>
<head>
    <title>订单车辆表</title>
    <meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="Author" content="larry" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="../../statics/common/cascader/cascader/cascader.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/layui.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/autocomplete.css">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/soulTable.css">
<link rel="stylesheet" type="text/css" href="../../statics/plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/common.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/list-search-table.css">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-soul-table/docs/soulTable.css" media="all"/>-->
<script type="text/javascript" src="../../statics/plugins/jquery.min.js"></script>
<script type="text/javascript" src="../../statics/common/lib/vue.min.js"></script>
<script type="text/javascript" src="../../statics/plugins/ztree/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="../../statics/common/layui/layui.all.js"></script>
<script type="text/javascript" src="../../statics/common/js/axios.min.js"></script>
<script type="text/javascript" src="../../statics/common/js/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/common.js"></script>
<script type="text/javascript" src="../../statics/js/upload.js"></script>
<script type="text/javascript" src="../../statics/common/step/steps.js"></script>
<link rel="stylesheet" href="../../statics/css/jxcPublicAll.css"  media="all">
<link href="../../statics/common/photoviewer/dist/photoviewer.css" rel="stylesheet">
<link rel="stylesheet" href="../../statics/common/step/steps.css">
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.css" media="all">-->
<link rel="stylesheet" href="../../statics/js/modules/cropper/cropper.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/css/viewer.min.css">
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.min.js"></script>-->
<script src="../../statics/js/modules/cropper/cropper.min.js"></script>
<script src="../../statics/common/photoviewer/dist/photoviewer.js"></script>
<script src="../../statics/common/layui/autocomplete.js"></script>
<script  src="../../statics/js/modules/viewer/viewer.min.js"></script>
<script src="../../statics/common/print-js/print.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../statics/common/print-js/print.min.css">
<script type="text/javascript" src="../../statics/common/xmselect/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/searchview.js"></script>
<script type="text/javascript" src="../../statics/js/tableedit.js"></script>

<!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.0&type=webgl&ak=eo4XeZhRKHsQ0NOe6u6NkKscmRsk416B"></script>-->

<!-- 引入组件库 -->
<link rel="stylesheet" type="text/css" href="../../statics/css/index.css">






</head>
<body class="ren-body">
<div id="rrapp" v-cloak>

    <!-- 新增表单 -->
    <form class="layui-form ren-form" style="margin-bottom: 60px;">

        <div class="form-content-box">
            <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                订单车辆信息维护-{{oldOrderCar.code}}({{oldOrderCar.carNo}})
            </div>
            <div class="form-content-session-box">
                <div class="card">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原租期开始:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.timeStartRent"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                       />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新租期开始:</label>
                            <div class="layui-input-inline">
                                <input type="text"
                                       v-model="newOrderCar.timeStartRent"
                                       readonly id="timeStartRent" autocomplete="off" placeholder="租赁开始时间"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原租期结束:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.timeFinishRent"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新租期结束:</label>
                            <div class="layui-input-inline">
                                <input type="text"
                                       v-model="newOrderCar.timeFinishRent"
                                       readonly id="timeFinishRent" autocomplete="off" placeholder="租赁结束时间"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原免费天数:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.freeDays"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新免费天数:</label>
                            <div class="layui-input-inline">
                                <input v-model="newOrderCar.freeDays" lay-verify="daysVerify"
                                       type="text"
                                       lay-verify="number"
                                       class="layui-input searchVal"
                                       placeholder="请输入新的免费天数" />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原付款日:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.paymentDay"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新付款日:</label>
                            <div class="layui-input-inline">
                                <input type="text" readonly
                                       style="position: absolute;line-height: 0;border-width: 0;border-style: hidden;background-color: rgba(0, 0, 0, 0);border-radius: 0;text-indent: -99999px;"
                                       id="paymentDay" class="layui-input">
                                <input type="text" id="paymentDayVal"
                                       v-model="newOrderCar.paymentDay" readonly
                                       autocomplete="off" placeholder="请选择付款日" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原押金:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.deposit"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新押金:</label>
                            <div class="layui-input-inline">
                                <input v-model="newOrderCar.deposit" lay-verify="moneyVerify"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal"
                                       placeholder="请输入新押金" />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原租金:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.averageRental"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新租金:</label>
                            <div class="layui-input-inline">
                                <input v-model="newOrderCar.averageRental" lay-verify="moneyVerify"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal"
                                       placeholder="请输入新租金" />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原服务费:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.coverCharge"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新服务费:</label>
                            <div class="layui-input-inline">
                                <input v-model="newOrderCar.coverCharge" lay-verify="moneyVerify"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal"
                                       placeholder="请输入新服务费" />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原付款方式:</label>
                            <div class="layui-input-inline">
                                <input v-model="oldOrderCar.paymentMethodStr"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <label class="layui-form-label">新付款方式:</label>
                            <div class="layui-input-inline">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="7" lay-skin="primary" title="日付">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="8" lay-skin="primary" title="周付">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="1" lay-skin="primary" title="月付">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="2" lay-skin="primary" title="两月付">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="3" lay-skin="primary" title="季付">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="6" lay-skin="primary" title="半年付">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="4" lay-skin="primary" title="年付">
                                <input type="radio" lay-filter="paymentMethod" v-model="newOrderCar.paymentMethod"
                                       name="paymentMethod" value="5" lay-skin="primary" title="一次性结清">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">原租金生成方式:</label>
                            <div class="layui-input-inline">
                                <input :value="transformTypeByMap(oldOrderCar.rentGenerationMethod,{ 1: '当月生成', 2: '次月生成', 4: '自定义首期租金' })"
                                       type="text"
                                       maxlength="50"
                                       class="layui-input searchVal" readonly
                                />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">&nbsp;</label>
                            <div class="layui-input-inline">
                                &nbsp;
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">新租金生成方式:</label>
                            <div class="layui-input-inline">
                                <input type="radio" lay-filter="rentGenerationMethod" v-model="newOrderCar.rentGenerationMethod"
                                       name="rentGenerationMethod" value="1" lay-skin="primary" title="当期生成">
                                <input type="radio" lay-filter="rentGenerationMethod" v-model="newOrderCar.rentGenerationMethod"
                                       name="rentGenerationMethod" value="2" lay-skin="primary" title="次期生成">
                                <input type="radio" lay-filter="rentGenerationMethod" v-model="newOrderCar.rentGenerationMethod"
                                       name="rentGenerationMethod" value="4" lay-skin="primary" title="自定义首期租金">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="newOrderCar.rentGenerationMethod == 4">
                            <label class="layui-form-label">首期租金</label>
                            <div class="layui-input-inline">
                                <input type="text" oninput="editSimple(this, 'num', '99999999.99')"
                                       v-model="newOrderCar.firstRent" autocomplete="off"
                                       lay-verify="validate_firstRent"
                                       placeholder="请输入首期租金" class="layui-input searchVal">
                            </div>
                        </div>

                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <label class="layui-form-label">是否生成新账单:</label>
                            <div class="layui-input-inline">
                                <input type="radio" name="createReceive" value="1" title="是" v-model="newOrderCar.createReceive" lay-filter="createReceive">
                                <input type="radio" name="createReceive" value="2" title="否" v-model="newOrderCar.createReceive" lay-filter="createReceive">
                            </div>
                        </div>

                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <label class="layui-form-label">是否新账单已收款:</label>
                            <div class="layui-input-inline">
                                <input type="radio" name="hasReceive" value="1" title="是" v-model="newOrderCar.hasReceive" lay-filter="hasReceive">
                                <input type="radio" name="hasReceive" value="2" title="否" v-model="newOrderCar.hasReceive" lay-filter="hasReceive">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="float-btn-group">
            <a class="layui-btn reset-btn" id="closePage">取消</a>
            <a class="layui-btn search-btn" lay-submit lay-filter="save" id="save">保存</a>
        </div>
    </form>


</div>


<script src="../../statics/js/modules/order/orderUseEdit.js?_${.now?long}"></script>
</body>
</html>
